package com.uuah.server.component.service;

import com.uuah.server.api.IUuahMessage;
import com.uuah.server.api.endpoint.IUuahEndpoint;
import com.uuah.server.exception.ExceptionStrategy;

/**
 * <code>DefaultServiceExceptionStrategy</code> is the default exception handler
 * for components. The handler logs errors and will forward the message and
 * exception to an exception endpointUri if one is set on this Exception
 * strategy
 *
 * <p>
 * update record:updator，update time，update content and version
 * </p>
 *
 * @author <a href="jonny_quan@hotmail.com">jonny</a>
 * @date 2009 2009-3-27 上午09:46:41
 * @version 1.0.0
 */
public class ServiceExceptionStrategy extends ExceptionStrategy {
	public ServiceExceptionStrategy() {
		super();
	}

	protected void defaultHandler(Throwable t) {
		super.defaultHandler(t);
	}

	protected void logFatal(IUuahMessage message, Throwable t) {
		super.logFatal(message, t);
	}

	protected void routeException(IUuahMessage message,
			IUuahEndpoint failedEndpoint, Throwable t) {
		super.routeException(message, failedEndpoint, t);
	}
}
